package request

import (
	"gitcode.com/G-YT/ANN/server/model/common/request"
	"time"
)

type PluginInfoSearch struct {
	CreatedAtRange []time.Time `json:"createdAtRange" form:"createdAtRange[]"`
	Name           *string     `json:"name" form:"name"`
	Version        *string     `json:"version" form:"version"`
	StartPrice     *float64    `json:"startPrice" form:"startPrice"`
	EndPrice       *float64    `json:"endPrice" form:"endPrice"`
	Status         string      `json:"status" form:"status"`
	Developer      *string     `json:"developer" form:"developer"`
	Category       string      `json:"category" form:"category"`
	InstallCount   *int        `json:"install_count" form:"install_count"`
	Rating         *float64    `json:"rating" form:"rating"`
	request.PageInfo
	Sort  string `json:"sort" form:"sort"`
	Order string `json:"order" form:"order"`
}
